package com.gg.registration.order.service;

import java.util.HashMap;
import java.util.Map;

/**
 * Author：  chenjunjia
 * Date：    2022/4/27 21:18
 * WeChat：  China_JoJo_
 */
public interface WechatPayService {
    Map createNative(Long orderId);

    Map<String, String> queryPayStatus(Long orderId, Integer status) throws Exception;

    /***
     * 退款
     * @param orderId
     * @return
     */
    Boolean refund(Long orderId) throws Exception;
}
